package net.betou.trade.main.dao;

import java.util.List;

import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.Channel;


public interface ChannelDao{
	
	public Channel save( Channel bean );
	
	public Channel deleteById( Integer id );
	
	public Channel updateByUpdater( Updater< Channel > updater );
	
	public Channel findById( Integer id );
	
	public Channel findMyChannel( Integer id, Integer selfId );
	
	public Pagination getPage( Integer selfId, String searchProperty, String searchValue, String orderProperty, String orderDirection, int pageNo, int pageSize );
	
	public List< Channel > getList( Integer selfId );
	
	public List< Channel > getOrientedGroupList( List< Integer > idList );
	
}